#include "../Model/ssm.h"
#include <stdio.h>

int main()
{
	Race source, dest;

	source.time_start=8;
	source.time_stop=5.5;

	writeRace("testRace.dat",&source);
	
	readRace("testRace.dat",&dest);

	if(	dest.time_start == 8 &&
		dest.time_stop  == 5.5)

		return 0;
	else
		fprintf(stderr,"ERROR: raceSource != raceDest\n");
		return -1;
}
